package com.itheima.reggie.service;

import com.itheima.reggie.domain.Cart;

import java.util.List;

/**
 * @Name CartService
 * @Author stella
 * @Date 2023-03-08 8:12 PM
 */
public interface CartService {
    //购物车新增
    Cart add(Cart cartParam);

    //查询购物车
    List<Cart> list();

    //清空购物车
    void clean();

    //购物车减少修改
    Cart sub(Cart cart);
}
